<html>
<head>
<title>Test JavaScript</title>
<script lanuage="JavaScript">
   function print_today_date(){
        var d = new Date();
        document.write(d.toLocaleString());
   }
</script>
</head>
<body>
<script language="JavaScript">
   print_today_date();
</script>
</body>
</html>